package com.soda.bean;

import java.util.ArrayList;
import java.util.List;

public class Role {

	private int rolId;//角色id
	private String rolName;//角色名
	private int rolState;//角色状态0:不可用 1：可用
	private String rolRemark;//角色备注
	private int rolDelete;//是否被删除 0：不显示 1：显示
	private List<User> users=new ArrayList<User>();//用户角色 多对一
	private List<Fmenu> fmenus=new ArrayList<Fmenu>();//角色与父菜单属于多对多关系
	private List<Menu> menus=new ArrayList<Menu>();//觉得与子菜单对应
	public Role() {
		// TODO Auto-generated constructor stub
	}
	public Role(int rolId, String rolName, int rolState, String rolRemark,
			int rolDelete) {
		super();
		this.rolId = rolId;
		this.rolName = rolName;
		this.rolState = rolState;
		this.rolRemark = rolRemark;
		this.rolDelete = rolDelete;
	}
	public int getRolId() {
		return rolId;
	}
	public void setRolId(int rolId) {
		this.rolId = rolId;
	}
	public String getRolName() {
		return rolName;
	}
	public void setRolName(String rolName) {
		this.rolName = rolName;
	}
	public int getRolState() {
		return rolState;
	}
	public void setRolState(int rolState) {
		this.rolState = rolState;
	}
	public String getRolRemark() {
		return rolRemark;
	}
	public void setRolRemark(String rolRemark) {
		this.rolRemark = rolRemark;
	}
	public int getRolDelete() {
		return rolDelete;
	}
	public void setRolDelete(int rolDelete) {
		this.rolDelete = rolDelete;
	}
	public List<User> getUsers() {
		return users;
	}
	public void setUsers(List<User> users) {
		this.users = users;
	}
	public List<Fmenu> getFmenus() {
		return fmenus;
	}
	public void setFmenus(List<Fmenu> fmenus) {
		this.fmenus = fmenus;
	}
	public List<Menu> getMenus() {
		return menus;
	}
	public void setMenus(List<Menu> menus) {
		this.menus = menus;
	}
	
}

